
var url = `https://login.sina.com.cn/sso/login.php?url=https%3A%2F%2Fweibo.com%2Fiaudi&_rand=1677202578.4&gateway=1&service=miniblog&entry=miniblog&useticket=1&returntype=META&sudaref=&_client_version=0.6.33`


var Sinalogin = require('sinalogin');
var request = require('request');

var account = {
	name: '18831437382',
	passwd: 'huangxin521520',
	cookiefile: '*584297508@qq.com.dat'
}

Sinalogin.weibo_login(account, function(err, loginInfo){
	if(loginInfo.logined){
		var j = loginInfo.j;
		request({url: 'http://weibo.com/youyudehexie?wvr=5&wvr=5&lf=reg', jar: j}, function (err, response, body) {
		  console.log(JSON.stringify(body))
		});
	}
});